package main

import (
	"fmt"
	"net/http"
)

func main() {
	var result string
	resp, err := http.Get("https://www.sonkwo.hk/store/search?page=1")
	if err != nil {
		fmt.Println("Get error:", err)
		return
	}
	buf := make([]byte, 4096)
	for {
		n, _ := resp.Body.Read(buf)
		if n == 0 {
			fmt.Println("完成")
			break
		}
		fmt.Println("n=", n)
		result += string(buf[:n])
	}
	fmt.Println(result)
}

//<a title="仁王2 完全版" class="listed-game-block hover-card" target="_blank" href="/sku/6823"><div class="listed-game-img"><img src="https://s1-rc.sonkwo.com/medium/910135728720663/file/62790/sonkwo-top-L-Nioh-2.jpg?imageView2/2/w/170/h/100" title="仁王2 完全版" alt="仁王2 完全版"></div><div class="listed-game-price"><span class="game-sale-price">￥249.00</span></div><div class="listed-game-content"><p class="title">仁王2 完全版</p><p class="date"><span class="iconfont platform_icon icon-steam_key"></span>发行于 2021-02-05</p><p class="tags"><span class="tag-block">角色扮演/</span><span class="tag-block">动作</span></p></div></a>

//<span class="game-sale-price">￥118.00</span>
